package com.qzdsoft.erpcloud.mapper.proj;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qzdsoft.erpcloud.domain.proj.Bom;
import com.qzdsoft.erpcloud.domain.proj.BomExample;

public interface BomMapper {
    int countByExample(BomExample example);

    int deleteByExample(BomExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Bom record);

    int insertSelective(Bom record);

    List<Bom> selectByExample(BomExample example);

    Bom selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Bom record, @Param("example") BomExample example);

    int updateByExample(@Param("record") Bom record, @Param("example") BomExample example);

    int updateByPrimaryKeySelective(Bom record);

    int updateByPrimaryKey(Bom record);
    //查询 所有的条件
	long countBom(String searchKey);
	//查询所有的 BOM
	List<Bom> findPageBom();
}